package k8055;


public enum K8055AddressState implements AddressState{
	NOT_CONNECTED		(-1, "NOT CONNECTED"),
	CONNECT_WITH_SK0	(0, "SK0"),
	CONNECT_WITH_SK1	(1, "SK1"),
	CONNECT_WITH_SK2	(2, "SK2"),
	CONNECT_WITH_SK3	(3, "SK3");
	
	
	private final int value;
	private final String name;
	
	K8055AddressState(int value, String name)
	{
		this.value = value;
		this.name = name;
	}

	@Override
	public int getAdressNumber()
	{
		return value;
	}
	
	@Override
	public String toString()
	{
		return name;
	}
}
